import request from '@/utils/request'

// 查询学生活动报名列表
export function listStupublic(query) {
  return request({
    url: '/wlxz/stupublic/list',
    method: 'get',
    params: query
  })
}

// 查询学生活动报名详细
export function getStupublic(id) {
  return request({
    url: '/wlxz/stupublic/' + id,
    method: 'get'
  })
}

// 新增学生活动报名
export function addStupublic(data) {
  return request({
    url: '/wlxz/stupublic',
    method: 'post',
    data: data
  })
}

// 修改学生活动报名
export function updateStupublic(data) {
  return request({
    url: '/wlxz/stupublic',
    method: 'put',
    data: data
  })
}

// 删除学生活动报名
export function delStupublic(id) {
  return request({
    url: '/wlxz/stupublic/' + id,
    method: 'delete'
  })
}
